package com.netty.kkk.mapper;

import com.netty.kkk.vo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    UserInfo login(String userName, String password);
    UserInfo findUserByName(String userName);
    void register(UserInfo user);
    List<UserInfo> getAllUser(String userName);
    void changeUserInfo(UserInfo userInfo);
}
